package com.zyz.G_常用类.时间类;

import java.sql.Date;

/**
 * @author: vick
 * @Date: 2025/3/19
 * @Description:
 * @version: 1.0
 */
public class Demo4 {
    public static void main(String[] args) {
        //String ==》 Data
        String str = "2025-3-19";
        Date date = Date.valueOf(str);
        System.out.println(date);
    }
}
